<include file="Finance:leftmenu" />
<div class="content-right fl">
    <h1 class="content-right-title">公司总帐</h1>
    <div class="tablesWrap">
       
  
        
        <table class="wxtables">
         	<colgroup>
				<col width="3%">
				<col width="5%">
				<col width="6%">
				<col width="6%">
				<col width="6%">
				<col width="6%">
				<col width="6%">
				<col width="6%">
				<col width="6%">
			</colgroup>
            <thead>
            <tr>
					<td>编号</td>
					<td>业绩时间</td>
					<td>注册业绩</td>
					<td>升级业绩</td>
					<td>重消业绩</td>
					<td>奖金</td>
					<td>个税</td>
					<td>重消币</td>
					<td>创建时间</td>
				</tr>
            </thead>
            <tbody>
            
            
<?php foreach($datalist as $k=>$v){ ?>
            <tr>
                <td><?php echo $v['id'];?></td>
                <td><?php echo $v['yeji_date'];?></td>
                <td><?php echo $v['zhuce_yeji']?$v['zhuce_yeji']:0;?></td>
                <td><?php echo $v['shengji_yeji']?$v['shengji_yeji']:0;?></td>
                <td><?php echo $v['chongxiao_yeji']?$v['chongxiao_yeji']:0;?></td>               
                <td>
                	分销佣金:<a style="color:blue;" target="_blank" href="/admin/finance/liushui/type/1?user_id=<?=$v[uid]?>"><?php echo $v['fenxiao_money']?$v['fenxiao_money']:0;?></a> <br>
					重消佣金:<a style="color:blue;" target="_blank" href="/admin/finance/liushui/type/2?user_id=<?=$v[uid]?>"><?php echo $v['chongxiao_money']?$v['chongxiao_money']:0;?></a><br>
               		互助奖金：<a style="color:blue;" target="_blank" href="/admin/finance/liushui/type/3?user_id=<?=$v[uid]?>"><?php echo $v['help_money']?$v['help_money']:0;?></a><br>
					分红奖:<a style="color:blue;" target="_blank" href="/admin/finance/liushui/type/4?user_id=<?=$v[uid]?>"><?php echo $v['fenhong_money']?$v['fenhong_money']:0;?></a><br>
               		领导奖: <a style="color:blue;" target="_blank" href="/admin/finance/jiangjin/type/2?user_id=<?=$v[uid]?>"><?php echo $v['leader_money']?$v['leader_money']:0;?></a><br>
               		车房奖：<a style="color:blue;" target="_blank" href="/admin/finance/jiangjin/type/1?user_id=<?=$v[uid]?>"><?php echo $v['carhouse_money']?$v['carhouse_money']:0;?></a><br>
                	</td>
                <td><?php echo $v['per_tax']?$v['per_tax']:0;?></td>
                <td><?php echo $v['score_money']?$v['score_money']:0;?></td> 
                 <td><?php echo $v['create_time'];?></td> 
                </tr>
<?php } ?>                         
                         
                            </tbody>
        </table>
	<div class="tables-btmctrl clearfix">
           <div class="mgt10">
               <div class="paginate">
                  {$page}
               </div>
           </div>
	</div>
    </div>

</div>

